import './global.css'
import Analytics from './components/analytics';
import { Inter } from '@next/font/google';

const inter = Inter({ subsets: ["latin"] });

export default function RootLayout({ children }: { children: React.ReactNode; }) {
    return (
        <html lang="en">
            <head>
                <title>rubick - 开源工具箱</title>
                <meta charSet="utf-8" />
                <meta httpEquiv="x-ua-compatible" content="ie=edge" />
                <meta name="description" content="使用 electron 构建的开源、免费效率工具" />
                <meta name="keywords" content="rubick,rubick,rubick官网,rubick是什么软件,rubick开发,rubick插件,效率工具,开源桌面端工具箱,electron工具软件" />
                <meta name="viewport" content="width=device-width, initial-scale=1" />
                
                <link rel="shortcut icon" href="/static/favicon/icon.ico" />
                <link rel="icon" href="/static/favicon/icon-32.png" sizes="32x32" />
                <link rel="icon" type="image/png" href="/static/favicon/icon-32.png" sizes="32x32" />
                <link rel="icon" type="image/png" href="/static/favicon/icon-16.png" sizes="16x16" />
            </head>
            <body className={inter.className}>
                {children}
                <Analytics />
            </body>
        </html>
    )
}